package com.scs.application.core.aliyun.configuration;

import com.scs.application.core.aliyun.oss.handler.AliyunOssHandler;
import com.scs.application.core.aliyun.oss.properties.AliyunOssProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties({AliyunOssProperties.class})
public class AliyunOssConfiguration {
    @Bean
    public AliyunOssHandler aliyunOssHandler() {
        return new AliyunOssHandler();
    }
}
